package com.itjin.model.request;

import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * 添加错题请求对象
 */
@Data
public class WrongQuestionRequest {

  /**
   * 课程ID
   */
  @NotNull(message = "课程ID不能为空")
  private Integer courseId;

  /**
   * 题目内容
   */
  @NotBlank(message = "题目内容不能为空")
  private String questionContent;

  /**
   * 错误答案
   */
  private String wrongAnswer;

  /**
   * 正确答案
   */
  private String correctAnswer;

  /**
   * 知识点
   */
  private String knowledgePoint;

  /**
   * 难度
   */
  private String difficulty;
}